-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Focal plane visualizer and detector file generator #345
Conversation
Hi @yusuke-takase , very lovely, I like it! For me, it is a nice feature. If there are no objections, we can merge it. I would suggest a few things:
|
Thanks a lot, @ziotom78 !
I agree with this, and I can do it after #342 merged. Maybe it will be almost same description what we will write in README. |
Maybe you could add a short sub-section under the " Usage " section, where you put the description and image you posted in the topmost comment here. (Adding an image is an effective way to advertise things!) |
Hi @yusuke-takase , #342 has been merged in |
Thanks, @ziotom78 |
Hi @ziotom78 , |
* add plot_fp.py * ask duration_yr * CHANGELOG.md: Add entry for plot_fp.py implementation and its functionality * update README * add plot.fp.rst in docs * docs: Improve formatting and clarity in plot_fp.rst * Fix the formatting to make ruff happy --------- Co-authored-by: Yusuke Takase <[email protected]> Co-authored-by: Maurizio Tomasi <[email protected]>
I often want to know information about the detector by specifying the FPU's location.
Furthermore, I thought it would be even better if I could create a file with a list of detectors from the visual information, assuming an e2e simulation.
So, I would like to propose this functionality in litebird_sim.
I made
plot_fp.py
which can be executed byThen, this kind of conversation will be happened:
During this conversation, the function loads IMO which is installed in the local machine, and the FPU which is specified in the conversation will be visualized like this:
By the clicking, the
DetectorInfo
is shown in right in real time.Furthermore, detectors that were clicked and ‘starred’ when the plot was closed are saved to a file with the following content:
It will be the input of the e2e simulation and I hope it is useful for everyone.
How do you guys think this functionality?